package com.example.studentmanagement2.repository.Repository;

import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.Teacher;

import java.util.List;
import java.util.Optional;

public interface TeacherRepository {
    List<Teacher> findAll();
    Optional<Teacher> findById(String id);
    Teacher save(Teacher teacher);


    void update(Teacher teacher, String originalId);

    void deleteById(String id);
    boolean existsById(String id);

    List<Teacher> search(String keyword);



}